<form method="POST" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE"  value="1000000" />
Object name: <input type="text" name="name" /><br/>
Choose a file to upload:  <input name="uploadfile" type="file" /><br/>
<input type="submit" value="Upload!"/>
</form>